Why can't GHCi resolve the kind of [[]] ?

Posted by MrBones on Stack Overflow See other posts from Stack Overflow or by MrBones
Published on 2010-06-08T04:45:13Z Indexed on 2010/06/08 4:52 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

Why can't Haskell resolve the kind of [[]] (A list of lists)?
Why isn't it simply * -> *, as I can give it a type like Int, and get [[Int]], which is of kind *.

© Stack Overflow or respective owner

Related posts about haskell

Related posts about types